public class StringDemo {
    public static void main(String[] args) {
        String str = "[1981000166]白云晖, [1986000064]支涛, [1986000033]夏开堂";
        String[] split = str.split(",");
        for (int i = 0; i < split.length; i++) {
            split[i] = split[i].trim().substring(12);
            System.out.println(split[i]);
            if (i > 0)
                str = str + "," + split[i];
            System.out.println(str);
        }
    }
}
